package Excise4;

public class zuoye2 {
	public static double feetToMeter(double feet) {
		return feet*0.305;
	}
	public static double meterToFeet(double meter) {
		return meter/0.305;
	}
	
	public static void main(String[] args) {
		System.out.println("Feet\tMeters\t|\tMeters\t\tFeet");
		System.out.println("---------------------------------");
		double j = 20.0;
		for(double i = 1.0; i <= 10.0; i++) {
			System.out.print(i + "\t" + feetToMeter(i) + "\t|\t" + j + "\t\t" + meterToFeet(j));
			System.out.println();
			j = j + 5.0;
		}
	}
}
